.wine-menu-generator-layout {
    min-height: 100vh;
    background: #f5f5f5;
}

.wine-menu-generator-content {
    padding: 24px;
}

.wine-menu-generator-container {
    max-width: 1400px;
    margin: 0 auto;
}

.generator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px 24px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.generator-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

.back-button {
    border: none;
    box-shadow: none;
}

.export-button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.export-button:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.generator-main {
    margin-top: 24px;
}

.config-section {
    margin-bottom: 24px;
}

.config-card {
    height: fit-content;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: unset;
}

.config-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.config-tab {
    flex: 1;
    border-radius: 6px;
}

.config-content {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 8px;
}

.config-content::-webkit-scrollbar {
    width: 6px;
}

.config-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.config-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.config-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.preview-section {
    margin-bottom: 24px;
}

.preview-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.preview-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.preview-info {
    font-size: 0.9rem;
    color: #666;
}

.preview-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* padding: 20px; */
    background: #fafafa;
    border-radius: 8px;
    min-height: 500px;
    overflow: auto;
}

.config-panel .ant-form-item {
    margin-bottom: 12px;
}

.config-panel .ant-form-item-label {
    padding-bottom: 4px;
}

.config-panel .ant-typography {
    margin-bottom: 8px;
}

.product-selector {
    padding: 8px 0;
}

.product-selector .ant-list-item {
    transition: background-color 0.2s ease;
}

.product-selector .ant-list-item:hover {
    background-color: #f8f9fa;
}

.product-selector .ant-checkbox-wrapper {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .generator-main {
        flex-direction: column;
    }

    .config-section {
        order: 2;
    }

    .preview-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .wine-menu-generator-content {
        padding: 16px;
    }

    .generator-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .generator-title {
        font-size: 1.25rem;
    }

    .config-tabs {
        flex-direction: column;
    }

    .preview-container {
        padding: 12px;
        overflow-x: auto;
    }
}
